﻿using DC2010.Objects.Data;
using DC2010.Objects.Logic;

namespace DC2010.Objects
{
    public class RuneLogic : BaseLogic
    {
        public RuneInfo Info { get; set; }
        public RuneGfx Gfx { get; set; }

        public string RuneCode { get; set; }

        public RuneLogic(RuneData rd)
        { 
            Info = new RuneInfo();
            Gfx = Root.I.RuneSystem.GetGfx(rd.GfxId);
            Data = rd;
        }
    }
}
